package com.example.demo.design.demo07_proxy;

/**
 * Created by 蔡超 on 2018/10/1.
 */
public class Proxy extends Subject {

    private RealSuvbject realSuvbject;

    public Proxy(RealSuvbject realSuvbject) {
        this.realSuvbject = realSuvbject;
    }

    @Override
    void operation() {
        realSuvbject.operation();
    }
}
